%run_exceltoifolders.m 
%========================
fname='GROWTH_MAT';                 % File name Where data stored 
dpath='C:\MATLAB_DATA\WAEMU';        % Path where data stored 
opath='C:\MATLAB_DATA\WAEMU';             % Path where to store individual files  
quer= 'GDP';                       % Indicates Subfolder 
nstr=3;                            % Extract from name string 
s0=1963;                           % Starting Date  
s1=2003;                           % Ending Date 
freq='A';                          % 

exceltoifolders(fname,dpath,opath,quer,nstr,s0,s1,freq); 